#include "app_device.h"
#include <unistd.h>
#include "log/log.h"
//#include "app_bt.h"

int main(int argc, char *argv[])
{
    //初始化设备
    app_device_init("/home/ljg/Getway/test_dev_file");
    log_debug("app_device_init ok\n");
    //启动设备
    app_device_start();
    log_debug("app_device_start ok\n");
    // 休眠一定时间
    sleep(100);
    //设备退出
    app_device_destroy();
    log_debug("app_device_destroy ok\n");
    return 0;   
}